//
//  MBProgressHUD+GJExtention.h
//  xmgjAppFront
//
//  Created by Zeki on 2020/7/10.
//  Copyright © 2020 guojutech. All rights reserved.
//

#import "MBProgressHUD.h"

NS_ASSUME_NONNULL_BEGIN

@interface MBProgressHUD (GJExtention)

/**
 *  显示一句话提醒
 *
 *  @param text 文本
 *
 *  @return hud
 */
+ (instancetype)cr_showToastWithView:(UIView *)view text:(NSString *)text;

/**
 *  加载动画
 */
+ (instancetype)cr_showLoadinWithView:(UIView *)view text:(NSString *)text;

/**
 *  隐藏view上的HUD
 */
+ (void)cr_hideHUDForView:(UIView *)view;

/**
 *  隐藏动画
 */
- (void)cr_hide;
@end

NS_ASSUME_NONNULL_END
